package com.xxx.dto;

import com.xxx.enums.CommonStatus;
import com.xxx.pojo.Dish;

import java.math.BigDecimal;
import java.time.LocalDateTime;


public class DishDto extends Dish {

    private String typesName;

    public DishDto() {
    }

    public DishDto(String name, Long typesId, BigDecimal price, Long id, String img, String describe, CommonStatus status, Long order, LocalDateTime createTime, LocalDateTime updateTime, Long createUser, Long updateUser, Integer deleted, String typesName) {
        super(name, typesId, price, id, img, describe, status, order, createTime, updateTime, createUser, updateUser, deleted);
        this.typesName = typesName;
    }

    public String getTypesName() {
        return typesName;
    }

    public void setTypesName(String typesName) {
        this.typesName = typesName;
    }

    @Override
    public String toString() {
        return "DishDto{" +
                "typesName='" + typesName + '\'' +
                '}';
    }
}
